<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Client Rate Management</title>
</head>
<body>
<div class="container-fluid my-5">
    <h1 class="mb-4">Client Rate Management</h1>
    <form>
        <div class="row g-3 align-items-end d-xl-flex my-3" id="clientRateCondition">
        </div>
    </form>
    <div id="clientRateOperation" role="group" class="btn-group" aria-label="clientRate">
    </div>
    <div style="overflow: auto">
        <table class="table table-striped" id="clientRateTable">
            <thead>
            </thead>
            <tbody>
            </tbody>
        </table>
    </div>
    <div id="pagination" class="d-flex justify-content-between align-items-center pagination"></div>
</div>

<div class="modal fade" id="clientRateModal" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true">
    <div class="modal-dialog  modal-fullscreen">
        <form id="clientRateDataForm" class="modal-content needs-validation" novalidate>
            <div class="modal-header">
                <h5 class="modal-title" id="modalLabel">Add Client Rate</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body row">
                <input type="hidden" id="clientRateId"/>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> Cancel</button>
                <button type="button" class="btn btn-primary" id="saveClientRateBtn"> Save</button>
            </div>
        </form>
    </div>
</div>
<div class="modal fade" id="uploadQuoteFile" tabindex="-1" aria-labelledby="upload quote file" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <form id="uploadForm" method="post" enctype="multipart/form-data">
                <div class="modal-header">
                    <h5 class="modal-title">Manage Items</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <div class="mb-3">
                        <label for="formFile" class="form-label">Choose a file</label>
                        <input class="form-control" type="file" id="formFile" name="file" required>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                    <button type="submit" class="btn btn-primary">Upload</button>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="offcanvas offcanvas-end" style="width: 50rem" tabindex="-1" id="subtable" aria-labelledby="myOffcanvasLabel">
    <div class="offcanvas-body">
        <div class="card" >
            <div class="card-body">
                <h5 class="card-title">Client Rate Charge</h5>
                <table id="clientRateCharge" class="table table-striped">
                </table>
            </div>
        </div>
    </div>
</div>

<script src="../js/common.js"></script>
<script src="js/clientrate.js"></script>
</body>
</html>